home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #14 / Monster Media No. 14 (April 1996) (Monster Media, Inc.).ISO / pcboard / hb_mb11.zip / BRDDOWN.PPE (.txt) next >
PCBoard Programming Language Executable  |  1995-12-26  |  1KB  |  100 lines

  1. ;------------------------------------------------------------------------------
  2. ;                                                   .ss.
  3. ;                                                   `²²'
  4. ;             .,sS$Ss,,s$  .,sS$$$Ss.  .,sS$Ss,,s$ .ss.  .sSs.
  5. ;           .d$$²^°²$$$$'.d$P²°^^²$P'.d$$²^°²$$$$'.$$$' .$$$²Sb,.
  6. ;           $$$'   .$$$' $$$²Sçsµ²' .$$$'   .$$$'.$$$' .$$$'  `$$b.
  7. ;           $$$b,,d$$$' ,$$$b,....,s$$$$b,,d$$$'.$$$;.,$$$'    ;$$$
  8. ;           `²S$$S²²S$$S²°²S$$$$S²°°²S$$$$$$',$$S²°²S$S'.sS$$$P²'
  9. ;                                    .sS²°$$$²²°"'       d²°'
  10. ;                                  .$$²  .$$'
  11. ;                                  $$$.,d$$'
  12. ;                                  `²S$$S²'
  13. ;------------------------------------------------------------------------------
  14. ; P.P.L.X. 2.OO                          (C)1996 - Lone Runner / AEGiS CoRP'96 
  15. ;------------------------------------------------------------------------------
  16. ; PPE 3.2O (Encryption type I) - Analysis ON - Postprocessing ON
  17. ;------------------------------------------------------------------------------
  18.  
  19.     Boolean  BOOLEAN001
  20.     Integer  INTEGER001
  21.     Integer  INTEGER002
  22.     Integer  INTEGER003
  23.     String   STRING001
  24.     String   STRING002
  25.     String   STRING003
  26.     String   STRING004
  27.  
  28. ;------------------------------------------------------------------------------
  29.  
  30.     STRING002 = PcbNode()
  31.     STRING003 = PPEPath() + "NODE" + STRING002 + ".XXX"
  32.     STRING001 = ReadLine(STRING003, 1)
  33.     INTEGER001 = ToInteger(ReadLine(STRING003, 2))
  34.     Dec INTEGER001
  35.     BOOLEAN001 = (CurSec() >= SysopSec())
  36.     If (BOOLEAN001) Then
  37.         STRING004 = PPEPath() + "SDISPLAY.LST"
  38.     Else
  39.         STRING004 = PPEPath() + "DISPLAY.LST"
  40.     Endif
  41.     INTEGER002 = ReadLine(STRING004, 1)
  42.     If (INTEGER001 == 0) INTEGER001 = INTEGER002
  43.     INTEGER003 = FNext()
  44.     FCreate INTEGER003, STRING003, 1, 3
  45.     FPutLn INTEGER003, STRING001
  46.     FPutLn INTEGER003, INTEGER001
  47.     FCloseAll
  48.  
  49. ;------------------------------------------------------------------------------
  50. ;
  51. ; Usage report (before postprocessing)
  52. ;
  53. ; ■ Statements used :
  54. ;
  55. ;    2       Goto 
  56. ;    10      Let 
  57. ;    2       If 
  58. ;    1       FCreate 
  59. ;    2       FPutLn 
  60. ;    1       Dec 
  61. ;    1       FCloseAll
  62. ;
  63. ;
  64. ; ■ Functions used :
  65. ;
  66. ;    5       +
  67. ;    1       ==
  68. ;    1       >=
  69. ;    1       !
  70. ;    3       PPEPath()
  71. ;    1       PcbNode()
  72. ;    3       ReadLine()
  73. ;    1       SysopSec()
  74. ;    1       CurSec()
  75. ;    1       ToInteger()
  76. ;    1       FNext()
  77. ;
  78. ;------------------------------------------------------------------------------
  79. ;
  80. ; Analysis flags : s
  81. ;
  82. ; s - Sysop level access ■ 5
  83. ;     Program is reading the sysop access level, this may be normal
  84. ;     but still it is very suspect. It is the best way to give a user
  85. ;     all priviledges. Check!
  86. ;     ■ Search for : SYSOPSEC()
  87. ;
  88. ;------------------------------------------------------------------------------
  89. ;
  90. ; Postprocessing report
  91. ;
  92. ;    0       For/Next
  93. ;    0       While/EndWhile
  94. ;    1       If/Then or If/Then/Else
  95. ;    0       Select Case
  96. ;
  97. ;------------------------------------------------------------------------------
  98. ;                 AEGiS Corp - Break the routines, code against the machines!
  99. ;------------------------------------------------------------------------------
  100.